package com.lmq.wxshare.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lmq.wxshare.entity.Produce;
import com.lmq.wxshare.entity.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where open_id=#{openid}")
    User getUserByOpenid(String openid);

}
